﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GRPCBase
{
    public class Worker
    {
        public string Host
        {
            get;
            set;
        }
        public int Port
        {
            get;
            set;
        }
        public int MaxTaskCount;
        public List<GRPCBase.TaskRequest> TaskList
        {
            get;
            set;
        }
        public bool Enable
        {
            get;
            set;
        }
        public DateTime LastEcho
        {
            get;
            set;
        }

        public TaskReply RunTask(GRPCBase.TaskRequest vtaskRequest)
        {
            return new TaskReply();
        }
    }
}
